package cn.gd.my.servlet.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class FirstServletListener implements ServletContextListener {

	@Override
	public void contextDestroyed(ServletContextEvent event) {
		System.out.println("Destroying servlet context...");
	}

	@Override
	public void contextInitialized(ServletContextEvent event) {
		System.out.println("Initialing servlet context..." + event.getServletContext().getInitParameter("testParam"));
	}

}
